package com.zangchat.service;

import com.common.core.domain.AjaxResult;
import com.zangchat.domain.ChatLogCash;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * 现金流水 服务层
 *
 * @author wudi
 * @date 2020-07-17
 */
public interface IChatLogCashService extends IService<ChatLogCash>
{
    public ChatLogCash initQlwShopLogCash(Integer type, Long fromId, Long userId, String orderNo, BigDecimal preCash, Integer cashType,
                                          BigDecimal cash, String remark);

    AjaxResult selectChatLogCash(Long userId, Integer cashType, int pageNum,int pageSize);
}